$(function(){
	unloadCharts({});
	
});

function doSearch(){
	var startTime = $('#startTime').datetimebox('getValue');
	var endTime = $('#endTime').datetimebox('getValue');
	var sysVer=$("#sysVer").combobox('getValue');
	var data={
		startTime:startTime,
		endTime:endTime,
		sysVer:sysVer
	};
	unloadCharts(data);
}

function unloadCharts(data){
	var url="/onlineSimulatorNumLog/getOnlineSimulatorNumLogList";
	$.ajax({
		url : url,
		data : data,
		type : "POST",
		datatype : "json",
		async : true,
		success : function(data) {
			var currData = eval(data);
			var title="在线模拟器数"
			var categories=currData.categories;
			var series=currData.series;
			channelCharts.showHighChart("container", title,categories,series);
		}
	});
}
